<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./enlarge.css">
    <title>Document</title>
</head>
<body>
        <div class="box box1">
            <div class="img">
                <div class="mask"></div>
            </div>
            <div class="enlarge"></div>
        </div>

        <div class="box box2">
            <div class="img">
                <div class="mask"></div>
            </div>
            <div class="enlarge"></div>
        </div>

        <script type="module">
            import Enlarge from "./enlarge.js"
            const enlarge1 = new Enlarge(".box1")
            const enlarge2 = new Enlarge(".box2")
        </script>
</body>
</html>